
<!-- 引入基类模板 -->
{extend name='public/base' /}

<!-- 主体部分 -->
{block name='content'}

    <!-- 功能操作区一 -->
    <form class="layui-form toolbar">
        <div class="layui-form-item">
                    
            <!-- 名称 -->
            {empty name ="$patent_id"}
            <div class="layui-inline">
                <label class="layui-form-label w-auto">专利名称：</label>
                <div class="layui-input-inline">
                    <input type="text" name="patent_name" placeholder="请输入专利名称" autocomplete="off" class="layui-input">
                </div>
                <label class="layui-form-label w-auto">公司名称：</label>
                <div class="layui-input-inline">
                    <input type="text" name="company_name" placeholder="请输入公司名称" autocomplete="off" class="layui-input">
                </div>
                <label class="layui-form-label w-auto">通知书名称：</label>
                <div class="layui-input-inline">
                    <input type="text" name="url_name" placeholder="请输入通知书名称" autocomplete="off" class="layui-input">
                </div>
            </div>
            {/empty}
            <!-- 点击查询时候使用 -->
            <div style="display:none"><input name="patent_id" value="{$patent_id}"></div>
            <div style="display:none"><input name="type" id="type" value="1"></div>
            <div class="layui-inline">
                <div class="layui-input-inline" style="width: auto;">
                    {widget:query name="查询"}
                    <!-- {widget:add name="添加通知书"} -->
                    <a href="javascript:" class="layui-btn layui-btn-success" id="add_notice" type="{$type}" win_name="{$win_name}" value="{$patent_id}">    
                        <i class="layui-icon layui-icon-add-1"></i> 添加通知书
                    </a>
                    <a href="javascript:" class="layui-btn layui-btn-warm" id="download">    
                        <i class="layui-icon layui-icon-download-circle"></i> 批量下载
                    </a>
                    {widget:dall name="批量删除"}
                    <!-- <a href="javascript:" class="layui-btn btnOption layui-btn-danger layui-btn-small btnDall" data-param="1" id="dall" lay-event="dall">
                        <i class="layui-icon layui-icon-delete"></i> 批量删除
                    </a> -->
                </div>
            </div>
        </div>
    </form>

    <!-- TABLE渲染区 -->
    <table class="layui-hide" id="tableList" lay-filter="tableList"></table>

    <!-- 操作功能区二 -->
    <script type="text/html" id="toolBar">
        {widget:delete name="删除"}
    </script>
<style type="text/css">
.layui-table-view .layui-table {
    width: -webkit-fill-available;
}
</style>
{/block}